import Vapor
import Fluent

final class Project: Model, Content {
    static let schema: String = "project"
    
    @ID
    var id: UUID?

    @Field(key: "customLogoID")
    var customLogoID: String?
    
    @Field(key: "demo")
    var demo: Bool
    
    @Field(key: "name")
    var name: String?
    
    @Field(key: "ownersEMailAddress")
    var ownersEMailAddress: String?
    
    @Field(key: "tag")
    var tag: String?
    
    @Children(for: \.$project)
    var simpleBuildings: [SimpleBuilding]
    
}
